Skip to navigation

FAQ · 21 answers

Questions,
answered
plainly.

Billing, models, agent setup, security and accounts. If your question is missing, email us and we will answer it and add it here.

Billing and credits

How does prepaid billing work?

You buy a credit pack, and each API request deducts its cost from your balance. One credit equals $1 of usage at the per-model rates on the models page. No seat fee and no minimum monthly spend.

How is the cost of a request calculated?

Cost = input tokens × input rate + output tokens × output rate (+ cached tokens × cached rate where a model supports prompt caching), with rates quoted per million tokens. The usage log in your console shows the token counts and exact amount deducted for every request.

How do top-ups work?

Add prepaid credit in any amount. Credit packs start at $10; the billing page lists every pack, and the price and credit amount are shown before you pay. No processing fees and no card deposit fees: the amount you add is the amount you get.

Do credits expire?

Purchased credits do not expire while your account is open and in good standing. Free trial credit is for evaluation and can be withdrawn if it is abused.

Can I get a refund?

Unused purchased credit can be refunded within the window described in the Refund Policy. Credit already spent on requests and free trial credit are not refundable. Email support@oneaiapikey.com with your transaction reference.

What happens when my balance runs out?

Requests return an insufficient-balance error (HTTP 403) until you top up. You can never be charged more than you have prepaid.

Models and API

Which models can I use?

48 models from Claude, GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2, Roleplay, Gemini, Muse and MiMo are available today. The models page lists every model ID, its rates and which API formats it supports.

Which API formats are supported?

Both. Use the OpenAI format at https://api.oneaiapikey.com/v1 (chat/completions, responses, models, embeddings) or the Anthropic Messages format by setting the base URL to https://api.oneaiapikey.com and calling /v1/messages. Anthropic-format requests work with claude-opus-5-5, claude-sonnet-5, claude-haiku-4-5 and claude-sonnet-5-5.

Why should I set stream: true?

Many networks and proxies close a connection that stays silent for about 100 seconds. A long non-streaming request can be cut before the model finishes, and you may still be charged for tokens already generated. Streaming sends tokens as they are produced and keeps the connection alive.

Which model answers my request?

The one you name. Each request is routed to the model ID you send, served by the provider that operates it, and that model ID is recorded next to the cost in your usage log.

Agent kits and tools

Which coding agents work with it?

Any tool that accepts a custom OpenAI-compatible or Anthropic-compatible base URL. The agent kits cover Claude Code, Codex CLI, Cursor, Cline, Kilo Code, OpenCode, Aider and Zed, each with a tested setup you can copy.

How do I use it with Claude Code?

Set ANTHROPIC_BASE_URL to https://api.oneaiapikey.com and ANTHROPIC_AUTH_TOKEN to your One AI API Key key, then start Claude Code as usual. The Claude Code setup in the agent kits covers settings files and model selection.

Can I use non-Claude models in Claude Code?

Claude Code is designed around Anthropic models and the Anthropic format, so we recommend Claude models there. For GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2, Roleplay, Gemini, Muse or MiMo, use a tool that speaks the OpenAI format, such as Codex CLI, Cline, Kilo Code or OpenCode.

Do the free tools need an account?

No. The cost calculator and agent config generator run in your browser and work without an account or API key.

Security and privacy

Do you train on my prompts or code?

No. We never use your prompts or outputs to train models and we do not sell them. By default only request metadata (model, token counts, cost, time) is stored for your usage log. Requests are processed by the upstream provider under its own API terms.

How should I protect my API keys?

Treat keys like passwords: keep them in environment variables or a secrets manager, never in client-side code or public repositories. Create one key per app or teammate, set a spending cap on each, and revoke any key you suspect is exposed. Requests made with a leaked key are charged to your balance.

Is One AI API Key affiliated with Anthropic, OpenAI, xAI, DeepSeek, Moonshot AI, Z.ai, MiniMax, Qwen, StepFun, Beam, DealignAI, NVIDIA, Baidu, Tencent, Google, Poolside, Liquid AI, Meituan, Meta, Upstage, Inception, Mistral, K2, Community, Xiaomi and Mistral AI?

No. One AI API Key is an independent API platform and is not affiliated with, endorsed by or sponsored by any model provider. Model names are trademarks of their owners.

Accounts and support

Is there a free trial?

New accounts receive $10.00 of sign-up credit, once per person. It pays for every model (text) and for tool calls at the listed prices, in Chat and the API. Free models (ids ending in :free) cost nothing per token and are capped at 100 requests a day per account, refilling at 05:30 IST (00:00 UTC); the cap holds while the balance is above $0, and the sign-up credit counts as balance. When the balance reaches $0, add credit.

Can my team share one balance?

Yes. Top up one account and create a separate API key for each person or app, so you can see usage per key and revoke access individually. Sharing keys outside your team is not allowed.

How do I delete my account?

Email support@oneaiapikey.com from your account address. We delete or anonymise your personal data within 30 days, except records we must keep by law, as explained in the Privacy Policy.

How do I contact support?

Email support@oneaiapikey.com. We aim to reply within one business day. Include the model, request time and error message for API issues, or the transaction reference for billing questions.

Still stuck?

Read the docs and the error reference, or send us the details and we will help.

New accounts$10 credit on sign-up
Claim $10 credit →