Official Clojure SDK for the BenchGecko API.
BenchGecko tracks every major AI model, benchmark, and provider. This library wraps the public REST API for querying model data, benchmark scores, and model comparisons.
Usage: (require '[benchgecko.core :as bg]) (bg/models) (bg/benchmarks) (bg/compare ["gpt-4o" "claude-opus-4"])
Official Clojure SDK for the BenchGecko API. BenchGecko tracks every major AI model, benchmark, and provider. This library wraps the public REST API for querying model data, benchmark scores, and model comparisons. Usage: (require '[benchgecko.core :as bg]) (bg/models) (bg/benchmarks) (bg/compare ["gpt-4o" "claude-opus-4"])
(benchmarks)List all benchmarks tracked by BenchGecko.
Returns a sequence of benchmark maps with name, category, and description.
Example: (def all-benchmarks (benchmarks)) (map :name all-benchmarks)
List all benchmarks tracked by BenchGecko. Returns a sequence of benchmark maps with name, category, and description. Example: (def all-benchmarks (benchmarks)) (map :name all-benchmarks)
(compare model-slugs)Compare two or more AI models side by side.
Accepts a vector of model slugs (minimum 2) and returns a structured comparison with per-model scores and pricing.
Example: (compare ["gpt-4o" "claude-opus-4"]) ;; => {:models [{:name "GPT-4o" :scores {...}} ...]}
Compare two or more AI models side by side.
Accepts a vector of model slugs (minimum 2) and returns a
structured comparison with per-model scores and pricing.
Example:
(compare ["gpt-4o" "claude-opus-4"])
;; => {:models [{:name "GPT-4o" :scores {...}} ...]}(models)List all AI models tracked by BenchGecko.
Returns a sequence of model maps, each containing metadata like name, provider, parameter count, pricing, and benchmark scores.
Example: (def all-models (models)) (count all-models) (map :name (take 5 all-models))
List all AI models tracked by BenchGecko. Returns a sequence of model maps, each containing metadata like name, provider, parameter count, pricing, and benchmark scores. Example: (def all-models (models)) (count all-models) (map :name (take 5 all-models))
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |