Pay as you go
From $20
Best for
- Production projects
- Fast iteration & scaling
- Startups & indie devs
What's included
- Access to all models
- No usage limits
- Access to Playground
- Pay with crypto
- Pay only for what you use
- Priority human support
Get an AI/ML API key and call Gemini 3.8 Flash and the other Gemini Flash models with the Universal AI SDK. 50% off right now, no promo code. Pay as you go from one balance.
Write a Python function that removes duplicates from a list and keeps the order.
Gemini 3.8 FlashGemini 3.7 FlashGemini 3.6 Flash
Here is a short version. It keeps the first copy of each item:
def dedupe(items: list) -> list:
return list(dict.fromkeys(items))A dict keeps insertion order, so the items stay where they were
Gemini is typing
Trusted by top teams
0% markup on AI models and tools
Gemini 3.8, 3.7 and 3.6 Flash are 50% off right now, priced per 1M tokens. One key calls any row.
Sign up with Google, GitHub or email. If you already have an account, log in.

Open Billing and add funds. You pay as you go and each request draws on this balance.
Open API keys and choose Create API Key. Name it, set a spending limit and store it on your server.
Open the Playground, pick a Gemini model and type a message. To call it from code, use your key with a supported SDK.
Write a haiku about the ocean.
Gemini 3.8 FlashGemini 3.7 FlashGemini 3.6 Flash
Waves fold into foam,
the moon pulls a silver thread,
shells keep the old songs
Gemini is typing
- OPENAI_API_KEY- ANTHROPIC_API_KEY- GEMINI_API_KEY+ AIML_API_KEYUse GPT, Claude and other AI models with the SDK. Switch models without building a separate integration.
Start small and scale on the same API as your traffic grows
From $20
Custom
Create an AI/ML API account, add credit, then open API keys and choose Create API Key. The same key calls every Gemini model. Follow the setup guide.
No. You get an AI/ML API key and call Gemini models through api.aimlapi.com. A key from Google AI Studio works only with Google's own API, and one can't replace the other.
You pay per token from your AI/ML API balance. Gemini 3.8, 3.7 and 3.6 Flash are 50% off right now: $0.75 for 1M input tokens instead of $1.50, and $3.75 for 1M output instead of $7.50. See all Gemini prices.
Yes. Set base_url to https://api.aimlapi.com/v1 and pass your AI/ML API key; the model IDs start with google/. See supported SDKs.
Add https://mcp.aimlapi.com/mcp as a remote MCP server and sign in through the browser. Your agent can then run AI/ML API models and check your balance. Read the MCP guide.
Gemini 3.8 Flash for long coding and agent work, Gemini 3.7 Flash for agentic coding and multimodal tasks, Gemini 3.6 Flash for fast agents with grounded search. All three are 50% off.
Store the key in a server-side environment variable. Keep it out of browser code and public repositories, and set a spending limit in your account.