1ZheAI Documentation
Entry points for model API, ready-to-use accounts, and subscription top-up services, including purchase notes, order, and after-sales rules.
Start with what you need: connect a model API, buy an AI account, or activate a subscription on an existing account.
Confirm the platform, subscription tier, delivered content, and first-login notes.
Check account conditions, required materials, and the activation process.
Confirm region, validity period, redemption method, and applicable accounts.
Understand cancellation, delivery issues, bans, and refund rules.
Model API Integration
Section titled “Model API Integration”1折AI provides Claude and OpenAI / GPT APIs, supporting Anthropic Messages, OpenAI Responses, and Chat Completions. Common endpoints include Anthropic’s native /v1/messages and OpenAI-compatible /v1/chat/completions. The code and tools you already have generally only need two changes: the Base URL and the API key.
Anthropic Base URL https://1zheai.comOpenAI Base URL https://1zheai.com/v1API Key sk-...(在控制台创建)Claude input and output are billed at each model’s discounted rate; cache reads and cache writes are billed at the official original price with no discount. Prices and billing units for GPT, MiMo, and image generation models are listed in Models and Pricing.
Claude, GPT, MiMo, and image generation models are live; the full list is in Supported Models.
What Do You Want to Do
Section titled “What Do You Want to Do”Claude Code, Codex CLI, Cursor, Cline, Cherry Studio, and CC Switch. Check the supported scope first, then configure step by step.
Start with the Anthropic SDK, OpenAI SDK, or curl, then learn about streaming output.
Machine-readable documentation, a page inventory, and copyable AI integration task instructions.
Register, create an API key, and complete your first request.
Reference and Support
Section titled “Reference and Support”Look up endpoints, protocols, examples, and compatibility scope.
View costs, call records, and troubleshooting paths.
Most Common Questions Before Use
Section titled “Most Common Questions Before Use”Check returned fields and usage; these checks alone cannot prove the model’s origin.
How to enable caching, how to see hit rates, and how much cheaper hits are.
What 401, 404, 429, and 5xx each mean.
Payment methods, 7-day refund, and invoice rules.
Developer Quick Reference
Section titled “Developer Quick Reference”| Your Task | View Directly |
|---|---|
| Writing code for the first time | Complete runnable examples |
| Switching from another platform | Migration guide |
| Looking up models and protocols | Model lookup · API reference |
| Handling timeouts and rate limits | Timeouts and retries |
| Finding common questions | Integration FAQ |
