What Is a Green AI API? (And How to Check One Is Real)
A green AI API runs model inference on clean energy. Here's what that actually means, the difference between 100% renewable hosting and renewable energy matching, and six questions to ask any AI API provider.
Every app that “has AI in it” is calling an AI API somewhere: send text in, get text back, pay per token. Behind each call is a GPU in a data center, drawing power from whatever grid it’s plugged into.
A green AI API is one where that power is clean, and where the provider tells you exactly how. Here’s what that should mean, the two kinds you’ll come across, and the questions that separate the real thing from a green-tinted logo.
The short answer
- A green AI API runs inference on clean energy and says, model by model, which standard applies.
- Two standards matter: 100% renewable hosting (the servers run on renewable power) and renewable energy matching (the provider buys renewable energy to cover what the model used elsewhere).
- It should be easy to switch to. The best ones are OpenAI-compatible, so you change a URL and a model name, not your code.
Why it matters
AI is one of the fastest-growing sources of new electricity demand. The International Energy Agency counts electricity use by AI-focused data centres as rising sharply, and new demand is often met by whatever power is cheapest to add, which in many places is still gas.
If you’re building a product, your API calls are part of that demand. Choosing where they run is one of the few climate decisions you control directly.
100% renewable vs energy matched
You’ll see both, and both are legitimate when they’re labelled honestly. They’re just not the same thing.
| 100% renewable hosting | Renewable energy matching | |
|---|---|---|
| What happens | The model runs on servers powered by renewable electricity | The model runs on a normal grid; the provider buys an equal amount of renewable energy |
| Where it’s possible | Models the provider hosts itself, usually open-weight models | Models only available from their makers, like GPT, Claude and Gemini |
| How direct | Direct: the electrons are clean | Indirect: offsets the grid power used |
| What to look for | Named data centers and their power source | A clear method for estimating the energy, and the label on each model |
A good provider doesn’t blur the two. Every model should carry a clear label, so you can choose.
6 questions to ask any AI API provider
- Where do the models actually run? Named locations, not “the cloud”.
- What powers those data centers? Hydro, geothermal, wind or solar on the local grid, or a certificate bought somewhere else?
- Which models are hosted on renewable power, and which are matched? It should be per model, not a blanket claim.
- How do you estimate energy for models you don’t host? Look for a published method.
- Do you store my prompts and outputs? Ideally not at all for hosted models.
- Can I switch without rewriting my app? OpenAI compatibility makes it a two-line change.
If a provider can’t answer the first three, the “green” is just paint.
How the Viro API does it
We built the Viro API around exactly these questions:
- 100% Clean Energy catalog: open-weight models (Kimi, DeepSeek, GLM, Qwen, Mistral and more) running on infrastructure we’ve verified as powered by 100% renewable energy, in data centers in Iceland, Norway, Finland and Ireland.
- Energy Matched catalog: frontier models from OpenAI, Anthropic, Google and xAI. We estimate the electricity for each request and match it with renewable energy, and label these separately.
- A clean-only router: the
viro/cleanmodel sends each request to the best eligible model on renewable-verified infrastructure, so you don’t have to choose. - Zero data retention for Viro-hosted models: prompt and response content isn’t stored after processing.
- OpenAI-compatible: point your existing client at
https://api.viro.app/v1. See how to switch in two lines.
Is it more expensive?
Often it’s cheaper. Clean-hosted open models like DeepSeek V4.1 Flash cost $0.36 per million input tokens on the Viro API, and GLM-5.3 Flash $0.18, versus several dollars for frontier models. For many tasks, a well-chosen open model is all you need. We compare options in the best clean-energy models for coding.
The bottom line
A green AI API should be specific: where models run, what powers them, which standard applies to each, and what happens to your data. Ask those questions of any provider, including us.
Get a free Viro API key with sandbox credit, no card needed.
Frequently asked questions
What is a green AI API?
An AI API whose model inference runs on clean energy, and that tells you plainly how. The strongest kind hosts models in data centers powered by 100% renewable electricity; a weaker but still useful kind matches the electricity used with renewable energy bought elsewhere.
What's the difference between 100% renewable and energy matched?
100% renewable means the servers running the model draw power from renewable sources. Energy matched means the model runs on a normal grid, and the provider estimates the electricity used and buys an equal amount of renewable energy. Both are better than nothing; the first is more direct.
Is a green AI API more expensive?
Not necessarily. Open-weight models hosted on renewable power can be much cheaper per token than frontier models. On the Viro API, several clean-energy models cost under $1 per million input tokens.
Can I use a green AI API with my existing code?
If it's OpenAI-compatible, yes. You change the base URL, API key and model name; the rest of your code stays the same.
Does a green AI API store my prompts?
It depends on the provider, so ask. The Viro API is designed around zero data retention for Viro-hosted models: prompt and response content isn't stored after processing.
Sources
- Viro API, Viro
- Our Data Centers, Viro Help Center
- Key Questions on Energy and AI, International Energy Agency, 2026
Cover photo by American Public Power Association on Unsplash



