# OceanToken > OceanToken is one API and one prepaid balance for nearly 500 AI models: text (chat/reasoning), image, video, speech, transcription, embeddings and rerank, from 70 publishers including OpenAI, Anthropic, Google, DeepSeek, Qwen and ByteDance. The API is OpenAI-compatible (base URL https://api.oceantoken.ai/v1); every chat model also answers on the Anthropic Messages API (the Anthropic SDK takes https://api.oceantoken.ai and adds /v1 itself). Prices are per model, in US dollars, with no platform fee. Console: https://app.oceantoken.ai. Product site: https://oceantoken.ai. MCP server for Codex, Claude Code, Cursor and Gemini CLI: https://mcp.oceantoken.ai/mcp (install guide: https://mcp.oceantoken.ai/install). ## Documentation - [OceanToken documentation](https://docs.oceantoken.ai/): OceanToken is one OpenAI-compatible API and one prepaid balance for nearly 500 AI models — text, images, video, speech, transcription, embeddings and rerank. Create an account, add credits, create a key, make your first request. - [Add credits](https://docs.oceantoken.ai/get-started/add-credits): Add credits to your prepaid OceanToken balance by card, see where the balance shows, and how an organization shares one wallet. - [Create an account](https://docs.oceantoken.ai/get-started/create-account): Sign up for OceanToken as a person or an organization, activate the account by email, and sign in. - [Create an API key](https://docs.oceantoken.ai/get-started/create-api-key): Create an OceanToken API key with its own credit limit and expiry, send it as a bearer token, and rotate or revoke it. - [Quickstart](https://docs.oceantoken.ai/get-started/first-request): Your first OceanToken request in three steps: get an API key, set it in your shell, and run one request in curl, Python or Node.js against the base URL https://api.oceantoken.ai/v1. Then stream answers and use Claude through the Anthropic SDK. - [Speech and transcription](https://docs.oceantoken.ai/guides/audio): Text to speech and speech to text with OceanToken: the voice each speech model takes, audio formats, getting a link instead of bytes, transcribing a file with language, timestamps and SRT or VTT subtitles, size limits and cost. - [Embeddings and rerank](https://docs.oceantoken.ai/guides/embeddings-rerank): Turn text into vectors with OceanToken embedding models for search, retrieval and clustering, and reorder search results by relevance with rerank models: requests, batching, dimensions, the response and cost. - [Images](https://docs.oceantoken.ai/guides/images): Generate and edit images with OceanToken: text to image, edits and reference images by URL, data URL or file upload, masks, size, quality and count, the URL in the response, a model's options, safe retries and cost. - [Migrate from OpenAI, Anthropic or another API](https://docs.oceantoken.ai/guides/migrate): Move an app from the OpenAI or Anthropic API, or from another multi-model API, to OceanToken: the two settings to change, environment variables that need no code change, model IDs, what works the same and what differs, and a checklist. - [Model list and catalog](https://docs.oceantoken.ai/guides/models-api): Read OceanToken's models from code: GET /v1/models for the models your key can call, and the public catalog JSON with each model's type, context window, capabilities and prices, with no key needed. - [Text generation](https://docs.oceantoken.ai/guides/text): Chat with any OceanToken text model through chat completions, the Responses API or the Anthropic Messages API: conversations, streaming, reasoning effort, structured JSON output, smart-router and the parameters that apply. - [Tool calling](https://docs.oceantoken.ai/guides/tool-calling): Let an OceanToken chat model call your functions: define tools, run the calls the model asks for, send the results back, force or forbid a call, parallel calls and streaming. Works with the OpenAI and Anthropic SDKs. - [Video](https://docs.oceantoken.ai/guides/video): Generate video with OceanToken (Seedance, Veo, Kling, Wan, Hailuo and more): create a job, poll it, download the file. Text to video, image to video with a first and last frame, reference images, video and audio, continuing or editing a video, 4K upscaled Seedance, duration, resolution, aspect ratio, sound, job states, errors and cost. - [Image input (vision)](https://docs.oceantoken.ai/guides/vision): Send images to an OceanToken chat model with the question: by URL or as a base64 data URL, several images in one message, on chat completions and the Anthropic Messages API, with size limits. - [Account](https://docs.oceantoken.ai/console/account): Change your email, download a copy of your data, choose what is masked in your requests, sign out, close your OceanToken account and reset your password. - [Activity](https://docs.oceantoken.ai/console/activity): OceanToken spend, requests and tokens by day, by model and by key, over the last 7 or 30 days. - [API](https://docs.oceantoken.ai/console/api): The console's API page: the base URL, a runnable quickstart for any model, and the endpoints your account can call. - [API Keys](https://docs.oceantoken.ai/console/api-keys): Create, edit, rotate and delete OceanToken API keys in the console, each with its own credit limit, reset period and expiry. - [Chat](https://docs.oceantoken.ai/console/chat): Chat in the OceanToken console: talk to any text model, create images and videos, run deep research and work with files, on your API balance. - [Credits](https://docs.oceantoken.ai/console/credits): Your OceanToken balance, holds for jobs still running, adding credits, and organization wallets with per-team allocations. - [Logs](https://docs.oceantoken.ai/console/logs): Every request made with your OceanToken keys: time, model, tokens, cost, status, latency and the request and response bodies. - [Media](https://docs.oceantoken.ai/console/media): The OceanToken console's Media page: the images, videos and speech you generated in Chat or through the API, to view, play and download for 30 days. - [Models](https://docs.oceantoken.ai/console/models): Browse every OceanToken model in the console, filter by type, and read each price in the unit it is billed in. - [Overview](https://docs.oceantoken.ai/console/overview): The OceanToken console's Overview page: this week's spend, requests and tokens, and quick actions for keys, models, credits and chat. - [Use OceanToken in Cline](https://docs.oceantoken.ai/agents/cline): Set up Cline, in VS Code or on the command line, to run on OceanToken. Covers the OpenAI Compatible provider, base URL, key, model ID, context window, max output, the recommended models, Claude prompt caching and troubleshooting. - [Add OceanToken to your coding agent](https://docs.oceantoken.ai/agents/connect): One command gives Codex, Claude Code, Cursor, Gemini CLI, OpenClaw and other MCP clients OceanToken's tools for images, video, speech, transcription and other models. - [Use OceanToken in goose](https://docs.oceantoken.ai/agents/goose): Run goose, the open-source AI agent, on OceanToken models. Download OceanToken's custom provider file, set OCEANTOKEN_API_KEY and pick a model in the goose CLI or goose Desktop. Covers the recommended models and troubleshooting. - [Use OceanToken in Kilo Code](https://docs.oceantoken.ai/agents/kilo-code): Set up Kilo Code, in VS Code or with the kilo CLI, to run on OceanToken as a custom OpenAI Compatible provider. Covers the provider dialog, kilo.jsonc with context and output limits, the recommended models, prompt caching, reasoning and troubleshooting. - [Run your coding agent on OceanToken](https://docs.oceantoken.ai/agents/run-on-oceantoken): Point Codex or Claude Code at OceanToken so the agent's own model runs on your OceanToken key and balance. - [Use OceanToken in Zoo Code and Roo Code](https://docs.oceantoken.ai/agents/zoo-code): Set up Zoo Code, the continuation of Roo Code, to run on OceanToken with its OpenAI Compatible provider. Covers base URL, key, model ID, context window, max output, image support, Claude prompt caching, the recommended models and troubleshooting. The same steps work in an existing Roo Code install. - [API reference](https://docs.oceantoken.ai/api): OceanToken API reference: base URL, the OpenAI, Anthropic and Cohere request shapes, every endpoint, streaming, video jobs, idempotency and request cost. - [Errors](https://docs.oceantoken.ai/errors): OceanToken error codes and what to do about each, the request ID, when to retry, idempotency keys for paid requests, errors while streaming, and how the codes differ from OpenAI's. - [Frequently asked questions](https://docs.oceantoken.ai/faq): Straight answers about OceanToken — what it is, OpenAI compatibility, which of the nearly 500 models you can call, pricing per token, image, second or minute, free models, spending limits per API key, and how to connect Claude Code, Codex, Cursor or Gemini CLI. - [Use OceanToken with the Vercel AI SDK](https://docs.oceantoken.ai/frameworks/vercel-ai-sdk): Call OceanToken models from the Vercel AI SDK with @ai-sdk/openai-compatible and your API key - generateText, streamText, tool calling, structured output, embeddings and image generation - and Claude models through @ai-sdk/anthropic. Every sample is tested against the live service. - [Limits](https://docs.oceantoken.ai/limits): OceanToken spending limits, per-key rate limits and their headers, request size, the 240-second timeout, data retention and model access. - [Models](https://docs.oceantoken.ai/models): Every AI model you can call through the OceanToken API — nearly 500 text, image, video, speech, transcription, embedding and rerank models — with the exact model ID, type, context window and capabilities, read from the live service at build time, and a link to each model's price on oceantoken.ai. - [Retries and automatic failover](https://docs.oceantoken.ai/reliability): What OceanToken does when a model's channel fails or is busy, what it does not retry, how streaming and billing behave, and how to name your own backup models. ## Models - [All models](https://docs.oceantoken.ai/models): 476 models; each has its own page at https://docs.oceantoken.ai/models/ with context window, capabilities, a sample request and a link to its price on oceantoken.ai - [Aion Labs models](https://docs.oceantoken.ai/models/aion-labs): 6 models - [Alibaba models](https://docs.oceantoken.ai/models/alibaba): 6 models - [Amazon models](https://docs.oceantoken.ai/models/amazon): 4 models - [Anthracite models](https://docs.oceantoken.ai/models/anthracite-org): 1 models - [Anthropic models](https://docs.oceantoken.ai/models/anthropic): 19 models - [Assemblyai models](https://docs.oceantoken.ai/models/assemblyai): 1 models - [BAAI models](https://docs.oceantoken.ai/models/baai): 3 models - [Black Forest Labs models](https://docs.oceantoken.ai/models/black-forest-labs): 8 models - [ByteDance models](https://docs.oceantoken.ai/models/bytedance): 12 models - [ByteDance Seed models](https://docs.oceantoken.ai/models/bytedance-seed): 8 models - [Canopylabs models](https://docs.oceantoken.ai/models/canopylabs): 1 models - [Cognitivecomputations models](https://docs.oceantoken.ai/models/cognitivecomputations): 1 models - [Cohere models](https://docs.oceantoken.ai/models/cohere): 9 models - [Deepgram models](https://docs.oceantoken.ai/models/deepgram): 2 models - [DeepSeek models](https://docs.oceantoken.ai/models/deepseek): 12 models - [Dots Studio models](https://docs.oceantoken.ai/models/dots-studio): 1 models - [Fireworks models](https://docs.oceantoken.ai/models/fireworks): 1 models - [Fish Audio models](https://docs.oceantoken.ai/models/fish-audio): 6 models - [Google models](https://docs.oceantoken.ai/models/google): 42 models - [Gryphe models](https://docs.oceantoken.ai/models/gryphe): 1 models - [Hexgrad models](https://docs.oceantoken.ai/models/hexgrad): 1 models - [Heygen models](https://docs.oceantoken.ai/models/heygen): 1 models - [IBM Granite models](https://docs.oceantoken.ai/models/ibm-granite): 1 models - [inclusionAI models](https://docs.oceantoken.ai/models/inclusionai): 2 models - [Inference.net models](https://docs.oceantoken.ai/models/inference-net): 2 models - [intfloat models](https://docs.oceantoken.ai/models/intfloat): 3 models - [Jaredpalmer models](https://docs.oceantoken.ai/models/jaredpalmer): 1 models - [Krea models](https://docs.oceantoken.ai/models/krea): 3 models - [Kuaishou models](https://docs.oceantoken.ai/models/kwaivgi): 4 models - [Liquid AI models](https://docs.oceantoken.ai/models/liquid): 1 models - [Mancer models](https://docs.oceantoken.ai/models/mancer): 1 models - [Meituan models](https://docs.oceantoken.ai/models/meituan): 1 models - [Meta models](https://docs.oceantoken.ai/models/meta): 5 models - [Meta models](https://docs.oceantoken.ai/models/meta-llama): 7 models - [Microsoft models](https://docs.oceantoken.ai/models/microsoft): 9 models - [MiniMax models](https://docs.oceantoken.ai/models/minimax): 8 models - [Mistral AI models](https://docs.oceantoken.ai/models/mistralai): 25 models - [Moonshot AI models](https://docs.oceantoken.ai/models/moonshotai): 8 models - [Morph models](https://docs.oceantoken.ai/models/morph): 2 models - [Nous Research models](https://docs.oceantoken.ai/models/nousresearch): 1 models - [NVIDIA models](https://docs.oceantoken.ai/models/nvidia): 13 models - [OpenAI models](https://docs.oceantoken.ai/models/openai): 74 models - [Perceptron models](https://docs.oceantoken.ai/models/perceptron): 2 models - [Perplexity models](https://docs.oceantoken.ai/models/perplexity): 7 models - [Prism Ml models](https://docs.oceantoken.ai/models/prism-ml): 1 models - [Qwen models](https://docs.oceantoken.ai/models/qwen): 49 models - [Recraft models](https://docs.oceantoken.ai/models/recraft): 16 models - [Rekaai models](https://docs.oceantoken.ai/models/rekaai): 2 models - [Relace models](https://docs.oceantoken.ai/models/relace): 2 models - [Runway models](https://docs.oceantoken.ai/models/runway): 2 models - [Sakana AI models](https://docs.oceantoken.ai/models/sakana): 3 models - [Sao10k models](https://docs.oceantoken.ai/models/sao10k): 2 models - [Sentence Transformers models](https://docs.oceantoken.ai/models/sentence-transformers): 5 models - [Sesame models](https://docs.oceantoken.ai/models/sesame): 1 models - [Sourceful models](https://docs.oceantoken.ai/models/sourceful): 4 models - [StepFun models](https://docs.oceantoken.ai/models/stepfun): 1 models - [Tencent models](https://docs.oceantoken.ai/models/tencent): 7 models - [Thedrummer models](https://docs.oceantoken.ai/models/thedrummer): 3 models - [Thenlper models](https://docs.oceantoken.ai/models/thenlper): 2 models - [Thinkingmachines models](https://docs.oceantoken.ai/models/thinkingmachines): 2 models - [Typesafe models](https://docs.oceantoken.ai/models/typesafe): 1 models - [Unbiased models](https://docs.oceantoken.ai/models/unbiased): 1 models - [Undi95 models](https://docs.oceantoken.ai/models/undi95): 1 models - [Upstage models](https://docs.oceantoken.ai/models/upstage): 2 models - [Videorebirth models](https://docs.oceantoken.ai/models/videorebirth): 1 models - [Voyage AI models](https://docs.oceantoken.ai/models/voyageai): 7 models - [Writer models](https://docs.oceantoken.ai/models/writer): 1 models - [xAI models](https://docs.oceantoken.ai/models/x-ai): 12 models - [Xiaomi models](https://docs.oceantoken.ai/models/xiaomi): 5 models - [Z.ai models](https://docs.oceantoken.ai/models/z-ai): 16 models ## Machine-readable - [llms-full.txt](https://docs.oceantoken.ai/llms-full.txt): this whole documentation as one Markdown file, every model and every endpoint included - [Public model catalog (JSON)](https://api.oceantoken.ai/public/model_hub): the live catalog the pages are built from - Per-model API: https://docs.oceantoken.ai/models//llms.txt (endpoint, every request parameter with its allowed values, the model's own options, examples and the response) and https://docs.oceantoken.ai/models//spec.json (the same as JSON, with a JSON Schema of the request) - [Agent install guide](https://mcp.oceantoken.ai/install): how an AI agent installs OceanToken into Codex, Claude Code, Cursor, Gemini CLI or OpenClaw ## Optional - [Product site](https://oceantoken.ai) - [Pricing](https://oceantoken.ai/models): every model with its price, on the product site - [Enterprise](https://oceantoken.ai/enterprise) - [Console](https://app.oceantoken.ai/ui/login/) - [Plugins for coding agents (GitHub)](https://github.com/OceanTokenAI/oceantoken-plugins)