Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Last active February 9, 2026 10:02
Show Gist options
  • Select an option

  • Save mrchrisadams/d0cc9b28530016e0803ee256b48cdd94 to your computer and use it in GitHub Desktop.

Select an option

Save mrchrisadams/d0cc9b28530016e0803ee256b48cdd94 to your computer and use it in GitHub Desktop.
How to use Marimo with energy disclosing inference providers.
# Add this to ~/.marimo.toml, and restart Marimo to see the new providers, and models.
# GreenPT gives you energy consumption figures per API key - you can use this to track
# consumption for specific teams, projects, And so on.
[ai.custom_providers.greenpt]
api_key = "sk-REDACTED"
base_url = "https://api.greenpt.ai/v1/"
[ai.models]
chat_model = "greenpt/devstral-small-2505"
edit_model = "greenpt/devstral-small-2505"
custom_models = [
"greenpt/devstral-small-2505",
"greenpt/devstral-2-123b-instruct-2512",
]
displayed_models = [
"greenpt/devstral-small-2505",
"greenpt/devstral-2-123b-instruct-2512",
]
[ai.custom_providers.neuralwatt]
api_key = "sk-REDACTED"
base_url = "https://api.neuralwatt.com/v1"
[ai.models]
custom_models = [
"neuralwatt/openai/gpt-oss-20b",
"neuralwatt/deepseek-ai/deepseek-coder-33b-instruct",
"neuralwatt/Qwen/Qwen3-Coder-480B-A35B-Instruct",
"neuralwatt/moonshotai/Kimi-K2.5",
]
chat_model = "neuralwatt/openai/gpt-oss-20b"
edit_model = "neuralwatt/moonshotai/Kimi-K2.5"
displayed_models = [
"neuralwatt/openai/gpt-oss-20b",
"neuralwatt/Qwen/Qwen3-Coder-480B-A35B-Instruct",
"neuralwatt/deepseek-ai/deepseek-coder-33b-instruct",
"neuralwatt/moonshotai/Kimi-K2.5",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment