
Billing Rules
Billing Method: Billing follows OpenAI API’s token-based pricing method, where 1000 tokens ≈ 500-750 words. Claude Code Billing Method: The billing algorithm is consistent with the official, with dynamically adjusted price ratio. Current ratio: 1 USD = 2.5 credits CodeX Billing Method: The billing algorithm is consistent with the official, with dynamically adjusted price ratio. Current ratio: 1 USD = 0.5 credits Credits to RMB Ratio: Credits and RMB are at a 1:1 ratio. In this article, you can see the ratio between our prices and official prices. Long Conversation Billing Principle: The principle of long conversations with AI is that each conversation implicitly sends all previous content to the AI. As conversations get longer, the cumulative content sent also increases, so token consumption will also increase.How to Integrate
We support API calls for various models. No format adaptation is needed. Use OpenAI API format, just modify base_url and api_key. api_key uses the main site Login Code, pay-as-you-go.Chat Completions
OpenAI Official API Documentation
Model List
| Provider | Model Name | Context | Point Price | Price Ratio | Official Price (USD) |
|---|---|---|---|---|---|
| Anthropic | claude-sonnet-4-6 | 200.0K | Input 0.003, Output 0.015 | 27% | Input 0.0015, Output 0.0075 |
| Anthropic | claude-sonnet-4-5-20250929-thinking | 200.0K | Input 0.003, Output 0.015 | 27% | Input 0.0015, Output 0.0075 |
| Anthropic | claude-sonnet-4-5-20250929-t | 200.0K | Input 0.003, Output 0.015 | 27% | Input 0.0015, Output 0.0075 |
| Anthropic | claude-sonnet-4-5-20250929 | 200.0K | Input 0.003, Output 0.015 | 27% | Input 0.0015, Output 0.0075 |
| Anthropic | claude-sonnet-4-20250514-thinking | 200.0K | Input 0.024, Output 0.12 | 109% | Input 0.003, Output 0.015 |
| Anthropic | claude-sonnet-4-20250514-t | 200.0K | Input 0.003, Output 0.015 | 27% | Input 0.0015, Output 0.0075 |
| Anthropic | claude-sonnet-4-20250514 | 200.0K | Input 0.003, Output 0.015 | 27% | Input 0.0015, Output 0.0075 |
| Anthropic | claude-opus-4-6-thinking | 200.0K | Input 0.01, Output 0.05 | 27% | Input 0.005, Output 0.025 |
| Anthropic | claude-opus-4-6-t | 200.0K | Input 0.01, Output 0.05 | 27% | Input 0.005, Output 0.025 |
| Anthropic | claude-opus-4-6 | 200.0K | Input 0.01, Output 0.05 | 27% | Input 0.005, Output 0.025 |
| Anthropic | claude-opus-4-5-20251101-t | 200.0K | Input 0.01, Output 0.05 | 27% | Input 0.005, Output 0.025 |
| Anthropic | claude-opus-4-5-20251101 | 200.0K | Input 0.01, Output 0.05 | 27% | Input 0.005, Output 0.025 |
| Anthropic | claude-opus-4-1-20250805-t | 200.0K | Input 0.03, Output 0.15 | 27% | Input 0.015, Output 0.075 |
| Anthropic | claude-opus-4-1-20250805 | 200.0K | Input 0.03, Output 0.15 | 27% | Input 0.015, Output 0.075 |
| Anthropic | claude-opus-4-20250514-thinking | 200.0K | Input 0.135, Output 0.675 | 123% | Input 0.015, Output 0.075 |
| Anthropic | claude-opus-4-20250514 | 200.0K | Input 0.03, Output 0.15 | 27% | Input 0.015, Output 0.075 |
| Anthropic | claude-3-5-haiku-20241022 | 200.0K | Input 0.004, Output 0.02 | 54% | Input 0.001, Output 0.005 |
| DeepSeek | deepseek-v3.2-thinking | 128.0K | Input 0.0011, Output 0.0016 | 52% | Input 0.00028, Output 0.00042 |
| DeepSeek | deepseek-v3.2-exp | 128.0K | Input 0.0011, Output 0.0016 | 52% | Input 0.00028, Output 0.00042 |
| DeepSeek | deepseek-v3.2 | 128.0K | Input 0.0011, Output 0.0016 | 52% | Input 0.00028, Output 0.00042 |
| DeepSeek | deepseek-v3.1 | 128.0K | Input 0.0011, Output 0.0046 | 57% | Input 0.00027, Output 0.0011 |
| DeepSeek | deepseek-v3-0324 | 128.0K | Input 0.0011, Output 0.0046 | 57% | Input 0.00027, Output 0.0011 |
| DeepSeek | deepseek-v3 | 128.0K | Input 0.00125, Output 0.0025 | 31% | Input 0.00027, Output 0.0011 |
| DeepSeek | deepseek-r1-distill-llama-70b | 128.0K | Input 0.003, Output 0.006 | 37% | Input 0.00055, Output 0.00219 |
| DeepSeek | deepseek-r1-0528 | 128.0K | Input 0.00231, Output 0.0092 | 57% | Input 0.00055, Output 0.00219 |
| DeepSeek | deepseek-r1 | 128.0K | Input 0.00231, Output 0.0092 | 57% | Input 0.00055, Output 0.00219 |
| GLM | glm-5 | 192.0K | Input 0.0035, Output 0.0112 | 47% | Input 0.001, Output 0.0032 |
| GLM | glm-4.7 | 192.0K | Input 0.0011, Output 0.00438 | 27% | Input 0.00055, Output 0.00219 |
| gemini-3.1-flash-image-preview | 200.0K | Input 0.1, Output 0.1 | 6% | Input 0.2, Output 0.2 | |
| gemini-3-pro-image-preview-openrouter | 256.0K | Input 0.2, Output 0.2 | 6% | Input 0.4, Output 0.4 | |
| gemini-3-pro-image-preview | 256.0K | Input 0.2, Output 0.2 | 6% | Input 0.4, Output 0.4 | |
| gemini-2.5-flash-image | 32.0K | Input 0.1, Output 0.1 | 6% | Input 0.2, Output 0.2 | |
| imagen-4.0-ultra-generate-preview-06-06 | 100.0K | Input 0.2, Output 0.2 | 2% | Input 1, Output 1 | |
| imagen-4.0-generate-preview-06-06 | 100.0K | Input 0.1, Output 0.1 | 1% | Input 1, Output 1 | |
| gemini-exp-1206 | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-exp-1121 | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-exp-1114 | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-3.1-pro-preview-studio | 1000.0K | Input 0.001, Output 0.008 | 10% | Input 0.00125, Output 0.01 | |
| gemini-3.1-pro-preview | 1000.0K | Input 0.007, Output 0.042 | 47% | Input 0.002, Output 0.012 | |
| gemini-3.1-flash-lite-preview | 1000.0K | Input 0.000875, Output 0.00525 | 47% | Input 0.00025, Output 0.0015 | |
| gemini-3-pro-preview-thinking | 1000.0K | Input 0.007, Output 0.042 | 47% | Input 0.002, Output 0.012 | |
| gemini-3-pro-preview-studio | 1000.0K | Input 0.001, Output 0.008 | 10% | Input 0.00125, Output 0.01 | |
| gemini-3-pro-preview-nothinking | 1000.0K | Input 0.002, Output 0.012 | 13% | Input 0.002, Output 0.012 | |
| gemini-3-pro-preview | 1000.0K | Input 0.007, Output 0.042 | 47% | Input 0.002, Output 0.012 | |
| gemini-3-flash-preview | 1000.0K | Input 0.000525, Output 0.0021 | 47% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-pro-thinking | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-studio | 1000.0K | Input 0.001, Output 0.008 | 10% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-preview-06-05 | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-preview-05-06 | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-preview-03-25 | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-nothinking | 1000.0K | Input 0.00125, Output 0.01 | 13% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro-exp-03-25 | 1000.0K | Input 0.001875, Output 0.015 | 20% | Input 0.00125, Output 0.01 | |
| gemini-2.5-pro | 1000.0K | Input 0.004375, Output 0.035 | 47% | Input 0.00125, Output 0.01 | |
| gemini-2.5-flash-thinking | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash-preview-thinking | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash-preview-nothinking | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash-preview-05-20 | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash-preview-04-17 | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash-preview | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash-nothinking | 1000.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 | |
| gemini-2.5-flash | 1000.0K | Input 0.000525, Output 0.0021 | 47% | Input 0.00015, Output 0.0006 | |
| gemini-2.0-pro-exp | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-2.0-flash-thinking-exp | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-2.0-flash-exp | 1024.0K | Input 0.003, Output 0.012 | 32% | Input 0.005, Output 0.005 | |
| gemini-2.0-flash | 1024.0K | Input 0.0001, Output 0.0004 | 13% | Input 0.0001, Output 0.0004 | |
| Kimi | kimi-k2.5 | 192.0K | Input 0.004, Output 0.021 | 99% | Input 0.00055, Output 0.0029 |
| Kimi | kimi-k2-thinking | 192.0K | Input 0.0011, Output 0.00438 | 27% | Input 0.00055, Output 0.00219 |
| MiniMax | minimax-m2.5 | 192.0K | Input 0.0021, Output 0.0084 | 99% | Input 0.00029, Output 0.00116 |
| MiniMax | minimax-m2 | 192.0K | Input 0.0011, Output 0.00438 | 27% | Input 0.00055, Output 0.00219 |
| OpenAI | sora-2-pro | NoneK | Input 3, Output 3 | 8% | Input 5, Output 5 |
| OpenAI | sora_video2 | NoneK | Input 0.5, Output 0.5 | 2% | Input 3, Output 3 |
| OpenAI | reverse-gpt-4o-mini-free | 8.0K | Input 0.001, Output 0.001 | 13% | Input 0.001, Output 0.001 |
| OpenAI | reverse-gpt-4o-free | 8.0K | Input 0.001, Output 0.001 | 13% | Input 0.001, Output 0.001 |
| OpenAI | o4-mini | 128.0K | Input 0.0011, Output 0.0044 | 13% | Input 0.0011, Output 0.0044 |
| OpenAI | o3-mini-high | 128.0K | Input 0.0011, Output 0.0044 | 13% | Input 0.0011, Output 0.0044 |
| OpenAI | o3-mini | 128.0K | Input 0.0011, Output 0.0044 | 13% | Input 0.0011, Output 0.0044 |
| OpenAI | o3-mini-2025-01-31 | 128.0K | Input 0.0011, Output 0.0044 | 13% | Input 0.0011, Output 0.0044 |
| OpenAI | o3-2025-04-16 | 128.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | o3 | 128.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | o1-preview-2024-09-12 | 128.0K | Input 0.045, Output 0.18 | 41% | Input 0.015, Output 0.06 |
| OpenAI | o1-preview | 128.0K | Input 0.045, Output 0.18 | 41% | Input 0.015, Output 0.06 |
| OpenAI | o1-2024-12-17 | 128.0K | Input 0.015, Output 0.06 | 13% | Input 0.015, Output 0.06 |
| OpenAI | horizon-beta | 256.0K | Input 0.01, Output 0.01 | 1% | Input 0.1, Output 0.1 |
| OpenAI | gpt-oss-120b | 128.0K | Input 0.00015, Output 0.0006 | 13% | Input 0.00015, Output 0.0006 |
| OpenAI | gpt-5.4 | 270.0K | Input 0.005, Output 0.03 | 27% | Input 0.0025, Output 0.015 |
| OpenAI | gpt-5.2 | 1000.0K | Input 0.0035, Output 0.028 | 27% | Input 0.00175, Output 0.014 |
| OpenAI | gpt-5.1-medium | 1000.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | gpt-5-codex | 1000.0K | Input 0.0025, Output 0.02 | 27% | Input 0.00125, Output 0.01 |
| OpenAI | gpt-5-chat-latest | 1000.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | gpt-5-mini | 1000.0K | Input 0.0005, Output 0.004 | 27% | Input 0.00025, Output 0.002 |
| OpenAI | gpt-5 | 1000.0K | Input 0.0025, Output 0.02 | 27% | Input 0.00125, Output 0.01 |
| OpenAI | gpt-4o-mini-free | 8.0K | Input 0.00001, Output 0.00001 | 0% | Input 0.00015, Output 0.0006 |
| OpenAI | gpt-4o-mini-2024-07-18 | 128.0K | Input 0.0003, Output 0.0012 | 27% | Input 0.00015, Output 0.0006 |
| OpenAI | gpt-4o-mini | 128.0K | Input 0.0003, Output 0.0012 | 27% | Input 0.00015, Output 0.0006 |
| OpenAI | gpt-4o-free | 8.0K | Input 0.00001, Output 0.00001 | 13% | Input 0.00001, Output 0.00001 |
| OpenAI | gpt-4o-2024-11-20 | 128.0K | Input 0.005, Output 0.02 | 27% | Input 0.0025, Output 0.01 |
| OpenAI | gpt-4o-2024-08-06 | 128.0K | Input 0.005, Output 0.02 | 27% | Input 0.0025, Output 0.01 |
| OpenAI | gpt-4o-2024-05-13 | 128.0K | Input 0.01, Output 0.03 | 27% | Input 0.005, Output 0.015 |
| OpenAI | gpt-4o-2024-11-20 | 128.0K | Input 0.005, Output 0.02 | 27% | Input 0.0025, Output 0.01 |
| OpenAI | gpt-4.5-preview | 128.0K | Input 0.15, Output 0.3 | 27% | Input 0.075, Output 0.15 |
| OpenAI | gpt-4.1-nano | 1000.0K | Input 0.0002, Output 0.0008 | 27% | Input 0.0001, Output 0.0004 |
| OpenAI | gpt-4.1-nano-2025-04-14 | 1000.0K | Input 0.0002, Output 0.0008 | 27% | Input 0.0001, Output 0.0004 |
| OpenAI | gpt-4.1-mini | 1000.0K | Input 0.0008, Output 0.0032 | 27% | Input 0.0004, Output 0.0016 |
| OpenAI | gpt-4.1-mini-2025-04-14 | 1000.0K | Input 0.0008, Output 0.0032 | 27% | Input 0.0004, Output 0.0016 |
| OpenAI | gpt-4.1-2025-04-14 | 1000.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | gpt-4.1 | 1000.0K | Input 0.004, Output 0.016 | 27% | Input 0.002, Output 0.008 |
| OpenAI | gpt-4-turbo-preview | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4-turbo-2024-04-09 | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4-turbo | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4-32k | 32.0K | Input 0.12, Output 0.24 | 27% | Input 0.06, Output 0.12 |
| OpenAI | gpt-4-1106-preview | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4-0613 | 8.0K | Input 0.06, Output 0.12 | 27% | Input 0.03, Output 0.06 |
| OpenAI | gpt-4-0125-preview | 128.0K | Input 0.02, Output 0.06 | 27% | Input 0.01, Output 0.03 |
| OpenAI | gpt-4 | 8.0K | Input 0.045, Output 0.09 | 20% | Input 0.03, Output 0.06 |
| OpenAI | gpt-3.5-turbo-0125 | 16.0K | Input 0.001, Output 0.002 | 18% | Input 0.0005, Output 0.0015 |
| OpenAI | gpt-3.5-turbo | 16.0K | Input 0.001, Output 0.002 | 18% | Input 0.0005, Output 0.0015 |
| qwen | qwen3-max-2026-01-23 | 128.0K | Input 0.004, Output 0.016 | 99% | Input 0.00055, Output 0.00221 |
| x.ai | grok-420 | 256.0K | Input 0.003, Output 0.015 | 13% | Input 0.003, Output 0.015 |
| x.ai | grok-4-1 | 256.0K | Input 0.003, Output 0.015 | 13% | Input 0.003, Output 0.015 |
| x.ai | grok-4-fast | 2000.0K | Input 0.0002, Output 0.0005 | 13% | Input 0.0002, Output 0.0005 |
| x.ai | grok-4 | 256.0K | Input 0.003, Output 0.015 | 13% | Input 0.003, Output 0.015 |
| x.ai | grok-3-r1 | 150.0K | Input 0.0012, Output 0.006 | 8% | Input 0.002, Output 0.01 |
| x.ai | grok-3-deepsearch | 150.0K | Input 0.0012, Output 0.006 | 8% | Input 0.002, Output 0.01 |
| x.ai | grok-3-deepersearch | 150.0K | Input 0.0012, Output 0.006 | 8% | Input 0.002, Output 0.01 |
| x.ai | grok-3-beta | 128.0K | Input 0.003, Output 0.015 | 13% | Input 0.003, Output 0.015 |
| x.ai | grok-3-reason | 150.0K | Input 0.0012, Output 0.006 | 8% | Input 0.002, Output 0.01 |
| x.ai | grok-3 | 150.0K | Input 0.0012, Output 0.006 | 5% | Input 0.003, Output 0.015 |