Claude API proxy for mtel staff
One API key works with curl, OpenCode, and any Anthropic-compatible client. Usage is tracked per key and per user.
Step 1
Sign in with Google
Sign in with your @mtel.co.th Google account. Only mtel addresses are allowed.
Step 2
Create an API key
Name your key and copy it immediately. The full key is shown only once.
Step 3
Point your client
Use the endpoint and your key with curl, OpenCode, or any Anthropic-compatible SDK.
Endpoint
Send requests to this URL.
https://polycon.mtel.cloud/messages
Allowed models
The proxy supports the following Claude models.
cURL
Replace YOUR_API_KEY with the key from your account.
curl -s https://polycon.mtel.cloud/messages \
-H "content-type: application/json" \
-H "anthropic-version: 2023-06-01" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"model":"claude-sonnet-4-6","max_tokens":64,"messages":[{"role":"user","content":"Say hi"}]}'OpenCode
Place this in ~/.config/opencode/opencode.json. Replace YOUR_API_KEY with your key.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"anthropic": {
"options": {
"baseURL": "https://polycon.mtel.cloud",
"apiKey": "dummy",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
},
"models": {
"anthropic/claude-sonnet-4-6": { "name": "MTEL" }
}
}
}
}