yangmao.ai · cURL setup money page
OctoAI cURL API Setup
Use cURL to smoke-test OctoAI before wiring SDK code. Confirm the exact endpoint, model name, and quota in the provider dashboard.
Quick verdict
- Free API: $10 free credits
- Rate limits: 60 RPM
- Best model starting point: Llama 3.3 70B
- Mainland China access: proxy/relay likely needed
Provider fit matrix
Production readiness checklist
cURL smoke test
Use this to verify endpoint, auth header, model name, response shape, and quota before adding SDK abstractions.
curl https://text.octoai.run/v1/chat/completions \
-H "Authorization: Bearer $OCTOAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Llama 3.3 70B",
"messages": [{"role": "user", "content": "Hello from yangmao.ai"}]
}' Free API and pricing notes
$10 free credits
New users get $10 free credits, supports text and image generation
Access and production risk
Relay or proxy may be needed
Requires proxy in China. Use openllmapi.com as proxy.
How to set it up
Create an API key and copy the provider endpoint from official docs.
Export the key into your shell session.
Send a minimal chat completion payload with cURL.
Check status code, JSON body, and rate-limit headers.
Move the tested endpoint into your app or fallback relay.
Credit-change alerts
Want to know when free credits, pricing, or availability changes? Subscribe first, then compare official providers, API gateways, and alternatives.
Subscribe → Get an OpenLLMAPI key → Compare API gateways →Related internal links
Source snapshot
Data source: yangmao.ai provider YAML tracker plus provider docs reviewed by the daily crawler. Official dashboards can change quota and pricing without notice; verify before production.
- yangmao.ai provider id
- octoai
- Official source
- https://octo.ai
- Last updated
- 2026-06-05
- Free tier
- credit-based
- API credits
- $10 free credits
- Rate limit
- 60 RPM
- Access note
- Requires proxy in China. Use openllmapi.com as proxy.
FAQ
Does OctoAI have a free API?
Yes. Current yangmao.ai record: $10 free credits. Rate limit note: 60 RPM.
Is OctoAI OpenAI-compatible?
The recorded setup uses an OpenAI-compatible pattern or SDK-style call. Validate the latest base URL and model names in OctoAI docs.
Can I use OctoAI from mainland China?
OctoAI may need a proxy or relay from mainland China. Test latency and signup before production.
What should I do when OctoAI credits run out?
Compare the alternatives below, check /en/free-ai-api/, and shortlist official providers or API gateway options before production.