omni-dev 0.39.0

AI-powered git commit rewriter, PR generator, and MCP server for Jira, Confluence, and Datadog.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
# AI Model Specifications
# This file defines the capabilities and limits for all supported AI models
# Used by omni-dev to configure API requests correctly
# Last updated: July 2026

# Schema version. Bumped when the YAML structure changes in a backwards-
# incompatible way. User/project files declaring a different version receive
# a warning at load time. Files without a version are accepted with a warning
# for backwards compatibility.
version: "1"

models:
  # Claude 5 / Opus 4.8 / Opus 4.7 (Current Generation)
  #
  # These models expose a 1M context window natively, at standard pricing with
  # no long-context premium — so they set `input_context: 1000000` directly and
  # carry no `context-1m-2025-08-07` beta header. That header is the older
  # mechanism and is not how this generation exposes 1M context.
  - provider: "claude"
    model: "Claude Fable 5"
    api_identifier: "claude-fable-5"
    input_token_price: 10.0
    output_token_price: 50.0
    max_output_tokens: 128000
    input_context: 1000000
    generation: 5.0
    tier: "flagship"
    supports_structured_output: true

  - provider: "claude"
    model: "Claude Opus 4.8"
    api_identifier: "claude-opus-4-8"
    input_token_price: 5.0
    output_token_price: 25.0
    max_output_tokens: 128000
    input_context: 1000000
    generation: 4.8
    tier: "flagship"
    supports_structured_output: true

  - provider: "claude"
    model: "Claude Opus 4.7"
    api_identifier: "claude-opus-4-7"
    input_token_price: 5.0
    output_token_price: 25.0
    max_output_tokens: 128000
    input_context: 1000000
    generation: 4.7
    tier: "flagship"
    supports_structured_output: true

  # Sonnet 5 has introductory pricing of $2.00/$10.00 per MTok through
  # 2026-08-31. The schema has no way to express a time-bounded price, so the
  # sticker rate is recorded here; cost estimates during the intro period are
  # therefore over-stated rather than silently wrong once it lapses.
  - provider: "claude"
    model: "Claude Sonnet 5"
    api_identifier: "claude-sonnet-5"
    input_token_price: 3.0
    output_token_price: 15.0
    max_output_tokens: 128000
    input_context: 1000000
    generation: 5.0
    tier: "balanced"
    supports_structured_output: true

  # Claude 4.6 Series
  #
  # 1M context is native on this generation too, so `input_context` is
  # 1000000 here rather than 200000-plus-a-beta-header. The
  # `context-1m-2025-08-07` block below is retained deliberately: it is now a
  # no-op for limits (it resolves to the same 1M the base already grants), but
  # `validate_beta_header` hard-errors on any header absent from this list, so
  # dropping it would newly reject `--beta-header
  # anthropic-beta:context-1m-2025-08-07` for callers who still pass it.
  - provider: "claude"
    model: "Claude Opus 4.6"
    api_identifier: "claude-opus-4-6"
    input_token_price: 5.0
    output_token_price: 25.0
    max_output_tokens: 128000
    input_context: 1000000
    generation: 4.6
    tier: "flagship"
    supports_structured_output: true
    beta_headers:
      - key: "anthropic-beta"
        value: "context-1m-2025-08-07"
        input_context: 1000000

  - provider: "claude"
    model: "Claude Sonnet 4.6"
    api_identifier: "claude-sonnet-4-6"
    input_token_price: 3.0
    output_token_price: 15.0
    max_output_tokens: 128000
    input_context: 1000000
    generation: 4.6
    tier: "balanced"
    supports_structured_output: true
    beta_headers:
      - key: "anthropic-beta"
        value: "context-1m-2025-08-07"
        input_context: 1000000

  # Claude 4.5 Series (Active, superseded by the 5 / 4.8 / 4.7 generation)
  #
  # Anthropic publishes an undated alias alongside each dated identifier
  # (e.g. `claude-haiku-4-5` for `claude-haiku-4-5-20251001`) and documents the
  # alias as the preferred form. Identifier resolution is exact-match then a
  # narrow normalization (region prefix / `anthropic.` prefix / `-v<N>:<M>`
  # suffix) — none of which maps an alias onto its dated entry. So each alias
  # needs its own entry, or `--model claude-haiku-4-5` silently misses the
  # registry and falls back to the provider default of 4096 output tokens
  # instead of this model's real 64000 (#1334).
  - provider: "claude"
    model: "Claude Sonnet 4.5"
    api_identifier: "claude-sonnet-4-5-20250929"
    input_token_price: 3.0
    output_token_price: 15.0
    max_output_tokens: 64000
    input_context: 200000
    generation: 4.5
    tier: "balanced"
    supports_structured_output: true
    beta_headers:
      - key: "anthropic-beta"
        value: "context-1m-2025-08-07"
        input_context: 1000000

  - provider: "claude"
    model: "Claude Sonnet 4.5"
    api_identifier: "claude-sonnet-4-5"
    input_token_price: 3.0
    output_token_price: 15.0
    max_output_tokens: 64000
    input_context: 200000
    generation: 4.5
    tier: "balanced"
    supports_structured_output: true
    beta_headers:
      - key: "anthropic-beta"
        value: "context-1m-2025-08-07"
        input_context: 1000000

  - provider: "claude"
    model: "Claude Haiku 4.5"
    api_identifier: "claude-haiku-4-5-20251001"
    input_token_price: 1.0
    output_token_price: 5.0
    max_output_tokens: 64000
    input_context: 200000
    generation: 4.5
    tier: "fast"
    supports_structured_output: true

  - provider: "claude"
    model: "Claude Haiku 4.5"
    api_identifier: "claude-haiku-4-5"
    input_token_price: 1.0
    output_token_price: 5.0
    max_output_tokens: 64000
    input_context: 200000
    generation: 4.5
    tier: "fast"
    supports_structured_output: true

  - provider: "claude"
    model: "Claude Opus 4.5"
    api_identifier: "claude-opus-4-5-20251101"
    input_token_price: 5.0
    output_token_price: 25.0
    max_output_tokens: 64000
    input_context: 200000
    generation: 4.5
    tier: "flagship"
    legacy: true
    supports_structured_output: true

  - provider: "claude"
    model: "Claude Opus 4.5"
    api_identifier: "claude-opus-4-5"
    input_token_price: 5.0
    output_token_price: 25.0
    max_output_tokens: 64000
    input_context: 200000
    generation: 4.5
    tier: "flagship"
    legacy: true
    supports_structured_output: true

  # Claude 4.x Series (Deprecated)
  #
  # `retires` is set only where a date has actually been announced. Opus 4 and
  # Sonnet 4 below are deprecated with retirement still TBD, so they carry no
  # `retires` — absence means "no published date", not "not retiring".
  - provider: "claude"
    model: "Claude Opus 4.1"
    api_identifier: "claude-opus-4-1-20250805"
    input_token_price: 15.0
    output_token_price: 75.0
    max_output_tokens: 32000
    input_context: 200000
    generation: 4.1
    tier: "flagship"
    legacy: true
    retires: "2026-08-05"

  - provider: "claude"
    model: "Claude Opus 4"
    api_identifier: "claude-opus-4-20250514"
    input_token_price: 15.0
    output_token_price: 75.0
    max_output_tokens: 32000
    input_context: 200000
    generation: 4
    tier: "flagship"
    legacy: true

  - provider: "claude"
    model: "Claude Sonnet 4"
    api_identifier: "claude-sonnet-4-20250514"
    input_token_price: 3.0
    output_token_price: 15.0
    max_output_tokens: 64000
    input_context: 200000
    generation: 4
    tier: "balanced"
    legacy: true
    beta_headers:
      - key: "anthropic-beta"
        value: "context-1m-2025-08-07"
        input_context: 1000000

  # Claude 3.x Series (RETIRED - these identifiers now 404 against the live API)
  #
  # Retained deliberately, not by oversight: Bedrock/AWS identifier
  # normalization resolves regional and versioned forms through these entries
  # (ADR-0011), and removing them would break that contract. A `retires` date
  # in the past is the machine-readable marker; `legacy: true` alone could not
  # distinguish "older but fine" from "already gone".
  #
  # Claude Haiku 3 is deprecated rather than retired — its date is in the
  # future, so it stays in this block but is still callable.
  - provider: "claude"
    model: "Claude Sonnet 3.7"
    api_identifier: "claude-3-7-sonnet-20250219"
    input_token_price: 3.0
    output_token_price: 15.0
    max_output_tokens: 64000
    input_context: 200000
    generation: 3.7
    tier: "balanced"
    legacy: true
    retires: "2026-02-19"
    beta_headers:
      - key: "anthropic-beta"
        value: "output-128k-2025-02-19"
        max_output_tokens: 128000
      - key: "anthropic-beta"
        value: "context-1m-2025-08-07"
        input_context: 1000000

  - provider: "claude"
    model: "Claude Haiku 3.5"
    api_identifier: "claude-3-5-haiku-20241022"
    input_token_price: 0.8
    output_token_price: 4.0
    max_output_tokens: 8192
    input_context: 200000
    generation: 3.5
    tier: "fast"
    legacy: true
    retires: "2026-02-19"

  - provider: "claude"
    model: "Claude Haiku 3"
    api_identifier: "claude-3-haiku-20240307"
    input_token_price: 0.25
    output_token_price: 1.25
    max_output_tokens: 4096
    input_context: 200000
    generation: 3
    tier: "fast"
    legacy: true
    retires: "2026-04-19"

  # Claude 3 Series (RETIRED - kept for Bedrock/AWS identifier normalization)
  - provider: "claude"
    model: "Claude Opus 3"
    api_identifier: "claude-3-opus-20240229"
    input_token_price: 15.0
    output_token_price: 75.0
    max_output_tokens: 4096
    input_context: 200000
    generation: 3
    tier: "flagship"
    legacy: true
    retires: "2026-01-05"

  - provider: "claude"
    model: "Claude Sonnet 3.5"
    api_identifier: "claude-3-5-sonnet-20241022"
    input_token_price: 3.0
    output_token_price: 15.0
    max_output_tokens: 8192
    input_context: 200000
    generation: 3.5
    tier: "balanced"
    legacy: true
    retires: "2025-10-28"

  # OpenAI GPT-5 Series (Current Generation)
  - provider: "openai"
    model: "GPT-5.2"
    api_identifier: "gpt-5.2"
    max_output_tokens: 128000
    input_context: 400000
    generation: 5.2
    tier: "flagship"

  - provider: "openai"
    model: "GPT-5.2 Pro"
    api_identifier: "gpt-5.2-pro"
    max_output_tokens: 128000
    input_context: 400000
    generation: 5.2
    tier: "flagship"

  - provider: "openai"
    model: "GPT-5"
    api_identifier: "gpt-5"
    max_output_tokens: 128000
    input_context: 400000
    generation: 5
    tier: "flagship"

  - provider: "openai"
    model: "GPT-5 Pro"
    api_identifier: "gpt-5-pro"
    max_output_tokens: 128000
    input_context: 400000
    generation: 5
    tier: "flagship"

  - provider: "openai"
    model: "GPT-5 Mini"
    api_identifier: "gpt-5-mini"
    max_output_tokens: 128000
    input_context: 400000
    generation: 5
    tier: "balanced"

  - provider: "openai"
    model: "GPT-5 Nano"
    api_identifier: "gpt-5-nano"
    max_output_tokens: 128000
    input_context: 400000
    generation: 5
    tier: "fast"

  # OpenAI o-Series Reasoning Models
  - provider: "openai"
    model: "o3"
    api_identifier: "o3"
    max_output_tokens: 100000
    input_context: 200000
    generation: 5
    tier: "flagship"

  - provider: "openai"
    model: "o3-pro"
    api_identifier: "o3-pro"
    max_output_tokens: 100000
    input_context: 200000
    generation: 5
    tier: "flagship"

  - provider: "openai"
    model: "o3-mini"
    api_identifier: "o3-mini"
    max_output_tokens: 100000
    input_context: 200000
    generation: 5
    tier: "fast"

  - provider: "openai"
    model: "o4-mini"
    api_identifier: "o4-mini"
    max_output_tokens: 100000
    input_context: 200000
    generation: 5
    tier: "fast"
    legacy: true

  - provider: "openai"
    model: "o1"
    api_identifier: "o1"
    max_output_tokens: 100000
    input_context: 200000
    generation: 5
    tier: "flagship"
    legacy: true

  - provider: "openai"
    model: "o1-pro"
    api_identifier: "o1-pro"
    max_output_tokens: 100000
    input_context: 200000
    generation: 5
    tier: "flagship"
    legacy: true

  - provider: "openai"
    model: "o1-mini"
    api_identifier: "o1-mini"
    max_output_tokens: 65536
    input_context: 128000
    generation: 5
    tier: "fast"
    legacy: true

  - provider: "openai"
    model: "o1-preview"
    api_identifier: "o1-preview"
    max_output_tokens: 32768
    input_context: 128000
    generation: 5
    tier: "flagship"
    legacy: true

  # OpenAI GPT-4.1 Series (Legacy - retiring Feb 2026)
  - provider: "openai"
    model: "GPT-4.1"
    api_identifier: "gpt-4.1"
    max_output_tokens: 32768
    input_context: 1047576
    generation: 4.1
    tier: "flagship"
    legacy: true

  - provider: "openai"
    model: "GPT-4.1 Mini"
    api_identifier: "gpt-4.1-mini"
    max_output_tokens: 32768
    input_context: 1047576
    generation: 4.1
    tier: "balanced"
    legacy: true

  - provider: "openai"
    model: "GPT-4.1 Nano"
    api_identifier: "gpt-4.1-nano"
    max_output_tokens: 32768
    input_context: 1047576
    generation: 4.1
    tier: "fast"
    legacy: true

  # OpenAI GPT-4o Series (Legacy - deprecated)
  - provider: "openai"
    model: "GPT-4o"
    api_identifier: "gpt-4o"
    max_output_tokens: 16384
    input_context: 128000
    generation: 4
    tier: "flagship"
    legacy: true

  - provider: "openai"
    model: "GPT-4o Mini"
    api_identifier: "gpt-4o-mini"
    max_output_tokens: 16384
    input_context: 128000
    generation: 4
    tier: "fast"
    legacy: true

  # OpenAI GPT-4 Turbo (Legacy - deprecated)
  - provider: "openai"
    model: "GPT-4 Turbo"
    api_identifier: "gpt-4-turbo"
    max_output_tokens: 4096
    input_context: 128000
    generation: 4
    tier: "balanced"
    legacy: true

  # Google Gemini 3 Series (Preview - Latest)
  - provider: "gemini"
    model: "Gemini 3 Pro"
    api_identifier: "gemini-3-pro-preview"
    max_output_tokens: 65536
    input_context: 1048576
    generation: 3.0
    tier: "flagship"

  - provider: "gemini"
    model: "Gemini 3 Flash"
    api_identifier: "gemini-3-flash-preview"
    max_output_tokens: 65536
    input_context: 1048576
    generation: 3.0
    tier: "balanced"

  # Google Gemini 2.5 Series (Stable)
  - provider: "gemini"
    model: "Gemini 2.5 Pro"
    api_identifier: "gemini-2.5-pro"
    max_output_tokens: 65536
    input_context: 1048576
    generation: 2.5
    tier: "flagship"

  - provider: "gemini"
    model: "Gemini 2.5 Flash"
    api_identifier: "gemini-2.5-flash"
    max_output_tokens: 65536
    input_context: 1048576
    generation: 2.5
    tier: "balanced"

  - provider: "gemini"
    model: "Gemini 2.5 Flash-Lite"
    api_identifier: "gemini-2.5-flash-lite"
    max_output_tokens: 65536
    input_context: 1048576
    generation: 2.5
    tier: "fast"

  # Google Gemini 2.0 Series (Legacy - deprecating Mar 2026)
  - provider: "gemini"
    model: "Gemini 2.0 Flash"
    api_identifier: "gemini-2.0-flash"
    max_output_tokens: 8192
    input_context: 1048576
    generation: 2.0
    tier: "fast"
    legacy: true

  - provider: "gemini"
    model: "Gemini 2.0 Flash-Lite"
    api_identifier: "gemini-2.0-flash-lite"
    max_output_tokens: 8192
    input_context: 1048576
    generation: 2.0
    tier: "fast"
    legacy: true

  # Google Gemini 1.5 Series (Retired - kept for reference)
  - provider: "gemini"
    model: "Gemini 1.5 Pro"
    api_identifier: "gemini-1.5-pro"
    max_output_tokens: 8192
    input_context: 2097152
    generation: 1.5
    tier: "flagship"
    legacy: true

  - provider: "gemini"
    model: "Gemini 1.5 Flash"
    api_identifier: "gemini-1.5-flash"
    max_output_tokens: 8192
    input_context: 1048576
    generation: 1.5
    tier: "balanced"
    legacy: true

# Provider-specific configurations
providers:
  claude:
    name: "Anthropic Claude"
    api_base: "https://api.anthropic.com/v1"
    # The model every invocation gets when `--model` / `OMNI_DEV_MODEL` is not
    # passed — the highest-impact single value in this file. Sonnet 5 is the
    # current balanced tier and the direct successor to the previous default
    # (claude-sonnet-4-6), so the cost profile is unchanged at the sticker rate
    # ($3/$15 per MTok). Kept in sync with `FALLBACK_CLAUDE_MODEL` in
    # src/claude/backend.rs, which covers the case where this file fails to load.
    default_model: "claude-sonnet-5"

    # Model tier descriptions for Claude
    tiers:
      flagship:
        description: "Most capable models for complex reasoning and analysis"
        use_cases: ["complex analysis", "research", "advanced reasoning"]

      balanced:
        description: "Good balance of capability and speed"
        use_cases: ["general tasks", "coding", "writing"]

      fast:
        description: "Optimized for speed and cost efficiency"
        use_cases: ["simple tasks", "high-volume processing", "quick responses"]

    # Default fallback limits for unknown Claude models
    defaults:
      max_output_tokens: 4096
      input_context: 200000

  openai:
    name: "OpenAI"
    api_base: "https://api.openai.com/v1"
    default_model: "gpt-5-mini"

    # Model tier descriptions for OpenAI
    tiers:
      flagship:
        description: "Most capable models for complex reasoning and analysis"
        use_cases: ["complex analysis", "research", "advanced reasoning"]

      balanced:
        description: "Good balance of capability and speed"
        use_cases: ["general tasks", "coding", "writing"]

      fast:
        description: "Optimized for speed and cost efficiency"
        use_cases: ["simple tasks", "high-volume processing", "quick responses"]

    # Default fallback limits for unknown OpenAI models
    defaults:
      max_output_tokens: 16384
      input_context: 128000

  gemini:
    name: "Google Gemini"
    api_base: "https://generativelanguage.googleapis.com/v1beta"
    default_model: "gemini-2.5-flash"

    # Model tier descriptions for Gemini
    tiers:
      flagship:
        description: "Most capable models for complex reasoning and analysis"
        use_cases: ["complex analysis", "research", "advanced reasoning"]

      balanced:
        description: "Good balance of capability and speed"
        use_cases: ["general tasks", "coding", "writing"]

      fast:
        description: "Optimized for speed and cost efficiency"
        use_cases: ["simple tasks", "high-volume processing", "quick responses"]

    # Default fallback limits for unknown Gemini models
    defaults:
      max_output_tokens: 8192
      input_context: 1048576