Anthropic Claude
Best reasoning and nuanced health analysis. Recommended for most users.
Create an Anthropic account
Go to console.anthropic.com and click Sign up. You can register with Google or an email address. Verify your email if prompted.
Anthropic Console — sign up page
Add billing (required for API access)
Anthropic requires a small prepaid credit to activate API access. Go to Settings → Billing and add at least $5. This covers thousands of questions in Metrya — Claude is very inexpensive at API rates.
Settings → Billing — add $5+ prepaid credit
Create an API key
In the left sidebar, click API Keys. Then click Create Key. Give it any name (e.g., "Metrya"). Copy the key — it starts with sk-ant- and will only be shown once.
API Keys page — click "Create Key" and copy the key
Paste the key in Metrya
Open Metrya on your iPhone → tap the tab bar icon in the bottom right to open Settings → scroll to API Keys → find the Anthropic row → paste your key and tap Save. Metrya will validate the key automatically.
| Model | Speed | Approx. cost per question | Best for |
|---|---|---|---|
| Claude Sonnet 4.6 | Balanced | ~$0.015 | Deep analysis, recurring insights |
| Claude Opus 4.6 | Thorough | ~$0.05 | Comprehensive health reports |
OpenAI
GPT-5 family only — the latest generation of OpenAI models, available in nano, mini, and full variants.
Create an OpenAI account
Visit platform.openai.com and click Sign up. You can use Google, Microsoft, or an email address. Verify your email to activate your account.
OpenAI Platform — sign in or create account
Add a payment method
Go to Settings → Billing in the left sidebar. Click Add payment method and add a card. Set an automatic top-up or add $10 prepaid credit. Without billing, API calls will fail.
Billing — add a payment method to enable API calls
Generate an API key
In the left sidebar, click API keys. Click Create new secret key, give it a name like "Metrya", and click Create secret key. Copy it immediately — keys start with sk- and cannot be shown again.
API Keys — click "Create new secret key" and copy immediately
Paste the key in Metrya
Open Metrya → Settings → API Keys → find the OpenAI row → paste your sk- key and tap Save. Metrya validates the key before saving.
| Model | Speed | Approx. cost per question | Best for |
|---|---|---|---|
| GPT-5.4 mini | Fast · Smart | ~$0.001 | Smart daily analysis, agent queries |
| GPT-5.4 nano | Fastest | ~$0.0002 | Quick lookups, high-volume tracking |
| GPT-5 mini | Balanced | ~$0.001$0.25 / $2.00 per 1M tokens | Best value GPT-5 — quality & speed |
| GPT-5 nano | Fastest | ~$0.0002$0.05 / $0.40 per 1M tokens | Cheapest GPT-5 — high-volume tracking |
Google Gemini
Google's flagship AI. Generous free tier available via AI Studio — great for trying Metrya at zero cost.
Open Google AI Studio
Go to aistudio.google.com. Sign in with your Google account. No separate registration is needed if you already have a Google account.
Google AI Studio — sign in with your Google account
Get an API key
In the left sidebar, click Get API key. On the next screen, click Create API key. Choose Create API key in new project or select an existing Google Cloud project. The key is generated instantly.
Get API key — click "Create API key in new project"
Copy your API key
After creation, your key appears in the table. Click the copy icon next to it. Gemini keys start with AIza. You can come back to this page at any time to copy or delete it.
API key table — click the copy icon to copy your key
Paste the key in Metrya
Open Metrya → Settings → API Keys → find the Gemini row → paste your AIza... key and tap Save. The key is validated and stored securely in iOS Keychain.
| Model | Speed | Approx. cost per question | Best for |
|---|---|---|---|
| Gemini 2.5 Flash-Lite | Very fast | Free / ~$0.0001 | Daily use, free tier testing |
| Gemini 2.5 Flash | Balanced | ~$0.0003 | Long-context health analysis |
| Gemini 2.5 Pro | Thorough | ~$0.001 | Deep reasoning, complex reports |
| Gemini 3.1 Flash | Fast | ~$0.0005 | Next-gen quality at low cost |
| Gemini 3.1 Pro (Preview) | Thorough | ~$0.002 | Highest-capability Gemini available |